import {
    CrownFilled,
    SmileFilled,
    TabletFilled,
    HeartFilled,
    TagsFilled,
    HomeFilled
} from '@ant-design/icons';

export default {
    route: {
        path: '/',
        routes: [
            {
                path: '/welcome',
                name: '欢迎',
                icon: <SmileFilled/>,
                component: '@/pages/index/index',
            },
            {
                path: '/student/list',
                name: '学生管理',
                icon: <CrownFilled/>,
                component: '@/pages/student/list',
            },
            {
                name: '老师管理',
                icon: <TabletFilled/>,
                path: '/teacher/list',
                component: '@/pages/teacher/list',
            },
            {
                name: '小组管理',
                icon: <HeartFilled/>,
                path: '/group/list',
                component: '@/pages/group/list',
            },
            {
                name: '黑名单',
                icon: <TagsFilled />,
                path: '/black/list',
                component: '@/pages/black/list',
            },
            {
                name: '系统配置',
                icon: <HomeFilled />,
                path: '/system/deploy',
                component: '@/pages/system/deploy',
            }
        ],
    },
    location: {
        pathname: '/',
    }
};